#ifndef __Oled_I2C__
#define __Oled_I2C__

#include "main.h"

#define OLED_CMD  0	//写命令
#define OLED_DATA 1	//写数据

void Oled_Init(void);

void Oled_Clear(void);
void Oled_Refresh(void);

void Oled_DrawPoint(uint8_t x,uint8_t y,uint8_t t);
void Oled_ShowNum(uint8_t x,uint8_t y,uint32_t num,uint8_t len,uint8_t size1,uint8_t mode);
void Oled_ShowChar(uint8_t x,uint8_t y,uint8_t chr,uint8_t size1,uint8_t mode);
void Oled_ShowString(uint8_t x,uint8_t y,char *chr,uint8_t size1,uint8_t mode);

#endif
